/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.AttributeManager;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "库区表",TableName = "ReservoirArea")]
    public partial class ReservoirArea:BaseEntity
    {
        /// <summary>
       ///主键id
       /// </summary>
       [Key]
       [Display(Name ="主键id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///仓库编号
       /// </summary>
       [Display(Name ="仓库编号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string WarehouseCode { get; set; }

       /// <summary>
       ///库区编号
       /// </summary>
       [Display(Name ="库区编号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ReservoirAreaCode { get; set; }

       /// <summary>
       ///库区名称
       /// </summary>
       [Display(Name ="库区名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string ReservoirAreaName { get; set; }

       /// <summary>
       ///面积
       /// </summary>
       [Display(Name ="面积")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? Area { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Descs { get; set; }

       
    }
}